module.exports = {
    TABLE_NICK_NAME: '文件管理',
    TABLE_DESC: '存储文件、图片、视频、语音的链接',
    fileName: {
        label: '文件名',
        rule: { NotNull: true },
        type: 'input'
    },
    fileType: {
        label: '文件类型',
        rule: { NotNull: true },
        attr: {
            actions: [
                { name: '普通文件', value: 'file' },
                { name: '图片', value: 'image' },
                { name: '视频', value: 'video' },
                { name: '语音', value: 'audio' }
            ]
        },
        type: 'select'
    },
    fileUrl: {
        label: '文件链接',
        rule: { NotNull: true },
        type: 'input'
    },
    fileSize: {
        label: '文件大小',
        rule: { PositiveNum: true },
        type: 'input'
    },
    uploadTime: {
        label: '上传时间',
        type: 'date'
    },
    uploader: {
        label: '上传人',
        attr: {
            type: 'userselect',
        },
        type: 'customer'
    },
    description: {
        label: '描述',
        type: 'textarea'
    }
}